<?php

return [
    'api_log' => env('API_LOG', false),
    'sms' => [
        'ali' => [
            'accessKeyId' => env('SMS_ALI_ACCESS_KEY_ID', ''),
            'accessKeySecret' => env('SMS_ALI_ACCESS_KEY_SECRET', ''),
            'template' => env('SMS_ALI_TEMPLATE', ''),
            'sign' => env('SMS_ALI_SIGN', '')
        ]
    ],

    'email' => [
        'title' => env('EMAIL_TITLE', ''),
    ],

    'test' => [
        'email' => env('TEST_EMAIL', ''),
        'phone' => env('TEST_PHONE', ''),
        'register_check' => env('REGISTER_CHECK', ''),
    ],

    'verify_code' => [
        'expired' => env('VERIFY_CODE_EXPIRED', '10'), //默认10分钟
        'length' => env('VERIFY_CODE_LENGTH', '6'), //默认长度
        'wait_send' => env('VERIFY_CODE_WAIT_SEND', '5'), //多长时间才能再次发送 默认1分钟
        'default' => env('VERIFY_CODE_DEFAULT', '666666'), //默认不需要认证
        'key' => env('VERIFY_DEFAULT_KEY', 'CMGNLYJXEDZVMPOB'), //默认key
    ],

    'token' => [
        'expired' => env('TOKEN_EXPIRED', ''),
    ],

    'api_frequency' => env('API_FREQUENCY', '5'), //默认单位5秒之内不能再次提交订单
    'pf_config' => env("PF_CONFIG", "pf:config"),
];
